package com.javasm.crm.service.sell.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.javasm.crm.domin.vo.SellOutRepositoryRecordVO;
import com.javasm.crm.mapper.sell.SellOutRepositoryRecordVOMapper;
import com.javasm.crm.service.sell.SellOutRepositoryRecordVOService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author：liuqizhe
 * @Version：1.0
 * @Date：2021/7/15-20:56
 * @Since:jdk1.8
 * @Description:TODO
 */
@Service
@Transactional
public class SellOutRepositoryRecordVOServiceImpl extends ServiceImpl<SellOutRepositoryRecordVOMapper, SellOutRepositoryRecordVO> implements SellOutRepositoryRecordVOService {

    @Autowired
    SellOutRepositoryRecordVOMapper sellOutRepositoryRecordVOMapper;

    @Override
    public List<SellOutRepositoryRecordVO> getSellOutRepositoryRecordVO(Page<SellOutRepositoryRecordVO> sellOutRepositoryRecordVOPage, QueryWrapper<SellOutRepositoryRecordVO> sellOutRepositoryRecordVOQueryWrapper) {
        return sellOutRepositoryRecordVOMapper.getSellOutRepositoryRecordVO(sellOutRepositoryRecordVOPage,sellOutRepositoryRecordVOQueryWrapper);
    }
}
